package org.halk.aspect;

public interface LockService {

    /**
     * 加锁
     * @param key
     * @param expireTime
     * @return
     */
   Boolean lock(String key,  long expireTime);

    /**
     * 解锁
     * @param key
     * @return
     */
   Boolean unLock(String key);
}
